package com.csun.cmny.provider.model.dto.nuringTour;

import com.csun.cmny.base.dto.BaseQuery;
import com.csun.cmny.util.PubUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Pattern;
import java.util.Date;

@Data
public class NursingTourRecordSelectDto extends BaseQuery {

    //巡视记录id
    private Long id;

    //巡视人员姓名
    private String name;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String startDate;

    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String endDate;

    //机构id
    private Long groupId;
}
